Freetds introduction, installation, configuration and usage, freetds Introduction
What is FreeTDS?In short, FreeTDS is a library that allows you to access Microsoft's SQL database in Linux! FreeTDS is an open-source Library (if you like it, you can
Two sets of DataSource, whose server settings are the same, but clientcharset is set to UTF-8 and GB2312.
1. install unixODBC
Download the installation package.UnixODBC-2.2.11-1.RHEL4.1.i386.rpmUnixODBC-devel-2.2.11-1.RHEL4.1.i386.rpmUnixODBC-kde-2.2
1. Install the unixODBC download installation package. There is a unixODBC-2.2.11-1.RHEL4.1.i386.rpmunixODBC-devel-2.2.11-1.RHEL4.1. I ON THE RedHat installation disc
1. Install the unixODBC download installation package. There is a unixODBC-2.2.11-1
I recently used C ++ in Linux to connect to SQL Server 2005 in windows, so I had to use freetds.
Environment: System ubuntu9.04 kernel 2.6.28 GCC 4.3.3 freetds 0.91
Freetds's latest stable version is 0.91, this can download http://www.freetds.org/on
Install freetds in Ubuntu to access sysbase and Microsoft SQL Server databases.
To access sqlserver in Linux, use freetds!
: Http://www.freetds.org
CD: Enter the directory where freetds is located. (For example, CD/root/usr/local/freetds) there
1. Install unixodbc
Use yum for installation:
Linux uses a CD to build a local Yum Server
Http://blog.csdn.net/tianlesoftware/article/details/7302358
[Root @ Rac1 MNT] # Yum install unixodbc
[Root @ Rac1 MNT] # Yum install unixodbc-devel
Run
SQLServerFreeTDS also provides RPM packages. related resources can be found on its official website: www.freetds.org. The installation path can be found through the rpm command. The default location of the configuration file is etcfreetds. conf,
After changing my work, I have been busy with the LINUX system architecture, and have gone through the pains of never understanding too much to be familiar with others. In the course of work, Baidu has always been the preferred search engine. But
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.